package nccloud.impl.ftm.framect.self;

import java.util.Map;

import nc.vo.ftm.contract.AggContractVO;
import nc.vo.ftm.framect.AggFramectHVO;
import nc.vo.pub.BusinessException;
import nccloud.bs.ftm.framect.event.FramectBodyAfterEditHandler;
import nccloud.bs.ftm.framect.event.FramectHeadAfterEditHandler;
import nccloud.itf.ftm.framect.self.IFramectEventService;

public class FramectEventServiceImpl implements IFramectEventService {
	
	@Override
	public AggFramectHVO handleBodyAfterEvent(Map<String, Object> eventData, AggFramectHVO billvo)
			throws BusinessException {
		
		
		new FramectBodyAfterEditHandler().handleEvent(eventData, billvo);
		return billvo;
	}
	
	@Override
	public AggFramectHVO handleHeadAfterEvent(Map<String, Object> eventData, AggFramectHVO billvo)
			throws BusinessException {
		
		
		new FramectHeadAfterEditHandler().handleEvent(eventData, billvo);
		return billvo;
	}
	
	@Override
	public Boolean handleHeadCuAfterEvent(Map<String, Object> eventData, AggContractVO billvo)
			throws BusinessException {
		
		
		return new FramectHeadAfterEditHandler().handleEventByCuP(eventData, billvo);
	}
	
	@Override
	public AggFramectHVO findAggFramectHVOByPk(String paramString) throws BusinessException{
		return null;
	}

}
